package com.oyjd.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 链接资源实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_LINK")
public class Link implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -294262050150728375L;

	/**
	 * 链接资源主键
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "ID", length = 32)
	private String id;

	/**
	 * 操作ID
	 */
	@Column(name = "OPERATE_ID", length = 32)
	private String operateId;

	/**
	 * 名称
	 */
	@Column(name = "NAME", length = 50)
	private String name;

	/**
	 * 链接地址
	 */
	@Column(name = "LINK", length = 200)
	private String link;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOperateId() {
		return operateId;
	}

	public void setOperateId(String operateId) {
		this.operateId = operateId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

}